package streamforce.crypto.event;

import java.io.Serializable;
import java.util.Arrays;

/**
 * containing information neccessary to initialize user
 */
public class UserInitAggEvent implements Serializable{
	private int streamId, userId, otherUserId, windowSize;
	private byte[][] pubK, tK, decK, detK, wK;
	public UserInitAggEvent(int streamId, int userId, byte[][] pubK, byte[][] tK,
			byte[][] decK, byte[][] detK, int windowSize, byte[][] wK) {	
		this.streamId = streamId;
		this.userId = userId;
		this.windowSize = windowSize; 
		this.pubK = pubK;
		this.tK = tK;
		this.decK = decK;
		this.detK = detK;
		this.wK = wK; 
	}
	
	
	public int getOtherUserId() {
		return otherUserId;
	}



	public void setOtherUserId(int otherUserId) {
		this.otherUserId = otherUserId;
	}



	public int getWindowSize() {
		return windowSize;
	}

	public void setWindowSize(int windowSize) {
		this.windowSize = windowSize;
	}

	public byte[][] getwK() {
		return wK;
	}

	public void setwK(byte[][] wK) {
		this.wK = wK;
	}

	public int getStreamId() {
		return streamId;
	}
	public void setStreamId(int streamId) {
		this.streamId = streamId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public byte[][] getPubK() {
		return pubK;
	}
	public void setPubK(byte[][] pubK) {
		this.pubK = pubK;
	}
	public byte[][] gettK() {
		return tK;
	}
	public void settK(byte[][] tK) {
		this.tK = tK;
	}
	public byte[][] getDecK() {
		return decK;
	}
	public void setDecK(byte[][] decK) {
		this.decK = decK;
	}
	public byte[][] getDetK() {
		return detK;
	}
	public void setDetK(byte[][] detK) {
		this.detK = detK;
	}
	
	
	
}
